package com.wfcm.service.impl;

import com.wfcm.dao.WfBookCodeDao;
import com.wfcm.entity.WfBookCode;
import com.wfcm.service.WfBookCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("wfBookCodeService")
public class WfBookCodeServiceImpl implements WfBookCodeService {
	@Autowired
	private WfBookCodeDao bookCodeDao;
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookCodeDao.queryTotal(map);
	}
	
	@Override
	public void save(WfBookCode bookCode){
		bookCodeDao.save(bookCode);
	}
	
	@Override
	public void update(WfBookCode bookCode){
		bookCodeDao.update(bookCode);
	}
	
	@Override
	public void delete(Integer id){
		bookCodeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bookCodeDao.deleteBatch(ids);
	}


}
